package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;

/**
 * @ProjectName: IEIS2-COM
 * @Package: com.indusfo.spc.pojo
 * @ClassName: MtypeXO
 * @Author: 熊冰
 * @Description: 物料类型
 * @Date: 2019/8/21 9:33
 * @Version: 1.0
 */

public class MtypeXO extends BasePojo {
    //物料类别ID
    private Integer mtypeId;
    //物料类别编码
    private String mtypeCode;
    //物料类别名称
    private String mtypeName;
    //物料类别父ID
    private Integer mtypePid;
    //备注
    private String remark;
    //数据状态
    private Integer dataState;

    //标记
    private Integer flag;

    public Integer getMtypeId() {
        return mtypeId;
    }

    public void setMtypeId(Integer mtypeId) {
        this.mtypeId = mtypeId;
    }

    public String getMtypeCode() {
        return mtypeCode;
    }

    public void setMtypeCode(String mtypeCode) {
        this.mtypeCode = mtypeCode == null ? null : mtypeCode.trim();
    }

    public String getMtypeName() {
        return mtypeName;
    }

    public void setMtypeName(String mtypeName) {
        this.mtypeName = mtypeName == null ? null : mtypeName.trim();
    }

    public Integer getMtypePid() {
        return mtypePid;
    }

    public void setMtypePid(Integer mtypePid) {
        this.mtypePid = mtypePid;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "MtypeXO{" +
                "mtypeId=" + mtypeId +
                ", mtypeCode='" + mtypeCode + '\'' +
                ", mtypeName='" + mtypeName + '\'' +
                ", mtypePid=" + mtypePid +
                ", remark='" + remark + '\'' +
                ", dataState=" + dataState +
                ", flag=" + flag +
                '}';
    }

    public String BasePojoToString() {
        return super.toString();
    }
}
